package com.ruoyi.mq.kafka;
import jdk.nashorn.internal.objects.annotations.Getter;
import jdk.nashorn.internal.objects.annotations.Setter;


import java.util.Date;

/**
 * <p>className: KafkaMessage</p>
 * <p>description: KakfaMQ</p>
 *
 * @author CG
 * @version 1.0.0
 * @date 2019-08-27 09:42
 */
public class KafkaMessage {
    private Long id;
    //消息
    private String msg;
    //时间戳
    private Date sendTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }
}